package com.aliyun.messagemgt.application.service.mq;

import java.util.List;

/**
 * Created with IDEA
 * 消息中间处理结果实体类
 *
 * @author:zhangxingxing 0027012120
 * @date:2019/2/21
 * @time:14:06
 */
public class MsgMiddleResult {

    /**
     * 接收者信息列表
     */
    private List<Receiver> receivers;
    /**
     * 推送结果码
     */
    private Integer pushResultCode;
    /**
     * 推送结果描述
     */
    private String pushResultDescription;

    public List<Receiver> getReceivers() {
        return receivers;
    }

    public MsgMiddleResult setReceivers(List<Receiver> receivers) {
        this.receivers = receivers;
        return this;
    }

    public Integer getPushResultCode() {
        return pushResultCode;
    }

    public MsgMiddleResult setPushResultCode(Integer pushResultCode) {
        this.pushResultCode = pushResultCode;
        return this;
    }

    public String getPushResultDescription() {
        return pushResultDescription;
    }

    public MsgMiddleResult setPushResultDescription(String pushResultDescription) {
        this.pushResultDescription = pushResultDescription;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("MsgMiddleResult{");
        sb.append("receivers=").append(receivers);
        sb.append(", pushResultCode=").append(pushResultCode);
        sb.append(", pushResultDescription='").append(pushResultDescription).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
